package cheqex.update;

import cheqex.dao.AdminPeer;
import cheqex.update.InitTorque;
import javax.swing.*;

import java.awt.*;
import java.awt.event.*;
import cheqex.update.controllers.AccountHandler;

@SuppressWarnings("unused")
public class CheqexMain {
	
	public static void main(String[] args) {
		InitTorque it = new InitTorque();
		it.init();
		if(AdminPeer.installAdmin()){ //checks whether the admin table is empty
			AdminPeer.addAdmin(); //installs the default admin account
		}
			
		LogInView log = new LogInView();

	}

}

